package com.graduation.project.service.group;

import com.baomidou.mybatisplus.extension.service.IService;
import com.graduation.project.entity.dto.AddGroupDTO;
import com.graduation.project.entity.dto.AllotDefenseDTO;
import com.graduation.project.entity.po.DefenseGroup;
import com.graduation.project.utils.ResultUtil;

public interface DefenseService extends IService<DefenseGroup> {
    ResultUtil<?> addGroup(AddGroupDTO addGroupDTO);

    ResultUtil<?> listDefenseGroup();

    ResultUtil<?> updateGroupName(String groupCode, String groupName);

    ResultUtil<?> listFinalizeOptions(String groupCode);

    ResultUtil<?> allotDefense(AllotDefenseDTO allotDefenseDTO);

    ResultUtil<?> listMySelfFinalize(String groupCode);

    ResultUtil<?> deleteGroup(String groupCode);
}
